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] widgets/tests: Compatibility with Python 3.5.{0,1} #2575

Merged
merged 1 commit into from
Sep 11, 2017

Conversation

ales-erjavec
Copy link
Contributor

Issue

typing.Type was introduced only in Python 3.5.2

Description of changes

try-except the import.

Includes
  • Code changes
  • Tests
  • Documentation

@codecov-io
Copy link

codecov-io commented Sep 11, 2017

Codecov Report

Merging #2575 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #2575      +/-   ##
==========================================
+ Coverage   75.02%   75.02%   +<.01%     
==========================================
  Files         327      327              
  Lines       57639    57641       +2     
==========================================
+ Hits        43246    43248       +2     
  Misses      14393    14393

typing.Type was introduced in Python 3.5.2
@astaric astaric merged commit d37f88c into biolab:master Sep 11, 2017
@janezd
Copy link
Contributor

janezd commented Sep 11, 2017

I'm stupid -- of course we don't need to import it if it's not there; it appears just in the comments. :)

@ales-erjavec ales-erjavec deleted the fixes/typing-compat branch November 14, 2017 08:55
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.

4 participants