Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix testProj4Version for Proj.proj_version being an integer #333

Merged
merged 1 commit into from
Jun 2, 2019

Conversation

cjmayo
Copy link
Contributor

@cjmayo cjmayo commented Jun 2, 2019

ERROR: testProj4Version (__main__.BasicTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test.py", line 16, in testProj4Version
    assert re.match(r"\d+\.\d+", awips221.proj_version)
  File "/usr/lib/python3.7/re.py", line 173, in match
    return _compile(pattern, flags).match(string)
TypeError: expected string or bytes-like object

ERROR: testProj4Version (__main__.BasicTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test.py", line 16, in testProj4Version
    assert re.match(r"\d+\.\d+", awips221.proj_version)
  File "/usr/lib/python3.7/re.py", line 173, in match
    return _compile(pattern, flags).match(string)
TypeError: expected string or bytes-like object
@snowman2
Copy link
Member

snowman2 commented Jun 2, 2019

Oh man. Thanks for catching this! Wouldn't be a proper release without an issue with it :).

@snowman2 snowman2 merged commit 8fe0b1c into pyproj4:master Jun 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants