Commits

wlav  committed a1cbea8

coding convention fixes

  • Participants
  • Parent commits 34fb4e4
  • Branches reflex-support

Comments (0)

Files changed (1)

File pypy/module/cppyy/test/test_datatypes.py

 import py, os, sys
 from pypy.conftest import gettestobjspace
-from pypy.module.cppyy import interp_cppyy, executor
 
 
 currpath = py.path.local(__file__).dirpath()
             import cppyy
             return cppyy.load_lib(%r)""" % (shared_lib, ))
 
-    def testLoadLibCache(self):
+    def test0_load_lib_cache(self):
         """Test whether loading a library twice results in the same object."""
         import cppyy
         lib2 = cppyy.load_lib(self.shared_lib)
         assert self.datatypes is lib2
 
-    def test1InstanceDataReadAccess( self ):
+    def test1_instance_data_read_access( self ):
         """Test read access to instance public data and verify values"""
 
         import cppyy, sys
 
         c.destruct()
 
-    def test2InstanceDataWriteAccess(self):
+    def test2_instance_data_write_access(self):
         """Test write access to instance public data and verify values"""
 
         import cppyy, sys
 
         c.destruct()
 
-    def test3ClassReadAccess(self):
+    def test3_class_read_access(self):
         """Test read access to class public data and verify values"""
 
         import cppyy, sys
 
         c.destruct()
 
-    def test4ClassDataWriteAccess(self):
+    def test4_class_data_write_access(self):
         """Test write access to class public data and verify values"""
 
         import cppyy, sys
 
         c.destruct()
 
-    def test5RangeAccess(self):
+    def test5_range_access(self):
         """Test the ranges of integer types"""
 
         import cppyy, sys
 
         c.destruct()
 
-    def test6TypeConversions(self):
+    def test6_type_conversions(self):
         """Test conversions between builtin types"""
 
         import cppyy, sys