diff options
| author | Chris Jerdonek <chris.jerdonek@gmail.com> | 2021-03-26 05:14:43 -0700 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-03-30 10:26:20 +0200 |
| commit | 038940cf5525c41464a1b9e9ba3801042320b0cc (patch) | |
| tree | 0972792e73a02a8b60ff86c22aa7cab46b956390 /tests/test_runner_apps | |
| parent | 7c08f26bf0439c1ed593b51b51ad847f7e262bc1 (diff) | |
Fixed #29127 -- Prevented DiscoverRunner from hiding tagged test with syntax errors.
This mades _FailedTest objects always match tags in DiscoverRunner.
Diffstat (limited to 'tests/test_runner_apps')
| -rw-r--r-- | tests/test_runner_apps/tagged/tests_syntax_error.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/test_runner_apps/tagged/tests_syntax_error.py b/tests/test_runner_apps/tagged/tests_syntax_error.py new file mode 100644 index 0000000000..2714768a30 --- /dev/null +++ b/tests/test_runner_apps/tagged/tests_syntax_error.py @@ -0,0 +1,11 @@ +from unittest import TestCase + +from django.test import tag + + +@tag('syntax_error') +class SyntaxErrorTestCase(TestCase): + pass + + +1syntax_error # NOQA |
