Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mpi4py/mpi4py
/ MyFile
Class
MyFile
test/test_subclass.py:404–411 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
402
403
404
class
MyFile(MPI.File):
405
#
406
def
__new__(cls, file=None):
407
return
MPI.File.__new__(cls, file)
408
409
def
close(self):
410
if
self != MPI.FILE_NULL:
411
MPI.File.Close(self)
412
413
414
class
BaseTestMyFile:
Callers
1
setUp
Method · 0.85
Calls
no outgoing calls
Tested by
1
setUp
Method · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…