Skip to content

Commit 4635c44

Browse files
committed
Revert "Fixed #35402 -- Fixed (naively) django_test_skips crash when referencing a class"
This reverts commit f7fe6dcdf7ba8fe719cccfad66daf368347da35f.
1 parent 03e9187 commit 4635c44

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

django/db/backends/base/creation.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -350,9 +350,6 @@ def mark_expected_failures_and_skips(self):
350350
test_app = test_name.split(".")[0]
351351
# Importing a test app that isn't installed raises RuntimeError.
352352
if test_app in settings.INSTALLED_APPS:
353-
# If this is a a test class, it may need to be imported.
354-
if test_name.count(".") == 2:
355-
import_string(test_name)
356353
test_case = import_string(test_case_name)
357354
test_method = getattr(test_case, test_method_name)
358355
setattr(test_case, test_method_name, skip(reason)(test_method))

0 commit comments

Comments
 (0)