8000 added skipped tests · django/django@19d2f91 · GitHub
[go: up one dir, main page]

Skip to content

Commit 19d2f91

Browse files
committed
added skipped tests
1) on windows platform for #29177 unmanaged models tests
1 parent 114e773 commit 19d2f91

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/migrations/test_autodetector_unmanaged.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import io
2+
import sys
23
import textwrap
4+
import unittest
35
from pathlib import Path
46

57
from migrations.test_base import MigrationTestBase
@@ -10,6 +12,10 @@
1012
from django.test.utils import override_settings
1113

1214

15+
@unittest.skipIf(
16+
sys.platform.startswith("win"),
17+
"Fails on Windows due to SQLite bad state (already existing table a01).",
18+
)
1319
class AutodetectorUnmanagedModelTest(MigrationTestBase, TransactionTestCase):
1420
"""Regression test for bug in autodetector with FK to managed=False model."""
1521

0 commit comments

Comments
 (0)
0