File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
subprojects/pyntcore/tests Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 2727
2828
2929def test_ntproperty (nt : NetworkTableInstance ):
30- class Foo ( object ) :
30+ class Foo :
3131 robotTime = ntproperty (
3232 "/SmartDashboard/robotTime" , 0.0 , writeDefault = False , inst = nt
3333 )
@@ -85,14 +85,14 @@ class Foo(object):
8585def test_ntproperty_emptyarray (nt : NetworkTableInstance ):
8686 with pytest .raises (TypeError ):
8787
88- class Foo1 ( object ) :
88+ class Foo1 :
8989 testArray = ntproperty (
9090 "/SmartDashboard/testArray" , [], writeDefault = True , inst = nt
9191 )
9292
9393 with pytest .raises (TypeError ):
9494
95- class Foo2 ( object ) :
95+ class Foo2 :
9696 testArray = ntproperty (
9797 "/SmartDashboard/testArray" , [], writeDefault = False , inst = nt
9898 )
@@ -106,7 +106,7 @@ def test_ntproperty_multitest(nt: NetworkTableInstance):
106106 pyfrc tests
107107 """
108108
109- class Foo ( object ) :
109+ class Foo :
110110 robotTime = ntproperty (
111111 "/SmartDashboard/robotTime" , 0.0 , writeDefault = False , inst = nt
112112 )
You can’t perform that action at this time.
0 commit comments