Skip to content

Commit

Permalink
remove obsolete test
Browse files Browse the repository at this point in the history
(version no longer listed in installation.rst)
  • Loading branch information
nitzmahone committed Sep 25, 2023
1 parent ff11e92 commit 57ff08e
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions testing/cffi0/test_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,6 @@ def test_doc_version():
assert ("version = '%s'\n" % v[:4]) in content
assert ("release = '%s'\n" % v) in content

def test_doc_version_file():
parent = os.path.dirname(os.path.dirname(cffi.__file__))
v = cffi.__version__.replace('+', '')
p = os.path.join(parent, 'doc', 'source', 'installation.rst')
content = open(p).read()
if " package version %s:" % v not in content:
for i in range(5):
if " package version %s-%d:" % (v, i) in content:
break
else:
assert 0, "doc/source/installation.rst needs updating"

def test_setup_version():
parent = os.path.dirname(os.path.dirname(cffi.__file__))
p = os.path.join(parent, 'setup.py')
Expand Down

0 comments on commit 57ff08e

Please sign in to comment.