We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03e9187 commit 4635c44Copy full SHA for 4635c44
django/db/backends/base/creation.py
@@ -350,9 +350,6 @@ def mark_expected_failures_and_skips(self):
350
test_app = test_name.split(".")[0]
351
# Importing a test app that isn't installed raises RuntimeError.
352
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)
356
test_case = import_string(test_case_name)
357
test_method = getattr(test_case, test_method_name)
358
setattr(test_case, test_method_name, skip(reason)(test_method))
0 commit comments