diff options
author | Bruno Oliveira <nicoddemus@gmail.com> | 2019-05-11 13:28:10 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-11 13:28:10 -0300 |
commit | 465b2d998ab6d05a99c84687a1ee0128131a79fd (patch) | |
tree | e215c44b818c11f6cbbbc9c52745fc947ae775cb /testing/code | |
parent | 184ef92f0b22fa79ae2d270f36549cbe0804a882 (diff) | |
parent | 0594dba5ce76628902dfd3ee107c6c2d10c7d73a (diff) | |
download | pytest-465b2d998ab6d05a99c84687a1ee0128131a79fd.tar.gz |
Further "unknown marks warning" improvements (#5178)
Further "unknown marks warning" improvements
Diffstat (limited to 'testing/code')
-rw-r--r-- | testing/code/test_excinfo.py | 2 | ||||
-rw-r--r-- | testing/code/test_source.py | 4 |
2 files changed, 0 insertions, 6 deletions
diff --git a/testing/code/test_excinfo.py b/testing/code/test_excinfo.py index 92e9395c7..a76797301 100644 --- a/testing/code/test_excinfo.py +++ b/testing/code/test_excinfo.py @@ -11,7 +11,6 @@ import textwrap import py import six from six.moves import queue -from test_source import astonly import _pytest import pytest @@ -147,7 +146,6 @@ class TestTraceback_f_g_h(object): assert s.startswith("def f():") assert s.endswith("raise ValueError") - @astonly @failsonjython def test_traceback_entry_getsource_in_construct(self): source = _pytest._code.Source( diff --git a/testing/code/test_source.py b/testing/code/test_source.py index b62169995..0a2a98c02 100644 --- a/testing/code/test_source.py +++ b/testing/code/test_source.py @@ -16,7 +16,6 @@ import _pytest._code import pytest from _pytest._code import Source -astonly = pytest.mark.nothing failsonjython = pytest.mark.xfail("sys.platform.startswith('java')") @@ -227,7 +226,6 @@ class TestSourceParsingAndCompiling(object): s = source.getstatement(1) assert s == str(source) - @astonly def test_getstatementrange_within_constructs(self): source = Source( """\ @@ -630,7 +628,6 @@ x = 3 class TestTry(object): - pytestmark = astonly source = """\ try: raise ValueError @@ -675,7 +672,6 @@ finally: class TestIf(object): - pytestmark = astonly source = """\ if 1: y = 3 |