Skip to content

Commit

Permalink
Merge pull request #1045 from Delaunay/issue_845
Browse files Browse the repository at this point in the history
remove python 3.6 special handling
  • Loading branch information
Delaunay authored Jan 11, 2023
2 parents 6c52f08 + ec4e6d2 commit 98bc0ab
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/orion/executor/multiprocess_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,6 @@ def ready(self):
return self.future.ready()

def successful(self):
# Python 3.6 raise assertion error
if not self.ready():
raise ValueError()

return self.future.successful()


Expand All @@ -81,6 +77,7 @@ def Process(*args, **kwds):

v = sys.version_info

# 3.7 Support #1046
# < 3.8 use self._ctx
# >= 3.8 ctx as an argument
if v.major == 3 and v.minor >= 8:
Expand Down

0 comments on commit 98bc0ab

Please sign in to comment.