(pytester: Pytester)
| 420 | |
| 421 | |
| 422 | def test_skip_test_with_unicode(pytester: Pytester) -> None: |
| 423 | pytester.makepyfile( |
| 424 | """\ |
| 425 | import unittest |
| 426 | class TestClass(): |
| 427 | def test_io(self): |
| 428 | raise unittest.SkipTest('😊') |
| 429 | """ |
| 430 | ) |
| 431 | result = pytester.runpytest() |
| 432 | result.stdout.fnmatch_lines(["* 1 skipped *"]) |
| 433 | |
| 434 | |
| 435 | def test_raises(pytester: Pytester) -> None: |
nothing calls this directly
no test coverage detected