Skip to content

Commit b4bbe79

Browse files
committed
fix version test to support beta
1 parent 7ed073d commit b4bbe79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing/cffi0/test_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def _read(p):
2222
def test_version():
2323
v = cffi.__version__
2424
version_info = '.'.join(str(i) for i in cffi.__version_info__)
25-
version_info = version_info.replace('.beta.', 'b')
25+
version_info = version_info.replace('.b', 'b')
2626
version_info = version_info.replace('.plus', '+')
2727
version_info = version_info.replace('.rc', 'rc')
2828
assert v == version_info

0 commit comments

Comments
 (0)