Fix up formatting issues with test_object.py
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
import pytest
|
import pytest
|
||||||
import capnp
|
import capnp
|
||||||
import os
|
import os
|
||||||
import math
|
|
||||||
|
|
||||||
this_dir = os.path.dirname(__file__)
|
this_dir = os.path.dirname(__file__)
|
||||||
|
|
||||||
@@ -22,4 +21,4 @@ def test_object_basic(object):
|
|||||||
obj_r = obj.as_reader()
|
obj_r = obj.as_reader()
|
||||||
same_person = obj_r.object.as_struct(object.Person)
|
same_person = obj_r.object.as_struct(object.Person)
|
||||||
assert same_person.name == 'test'
|
assert same_person.name == 'test'
|
||||||
assert same_person.id == 1000
|
assert same_person.id == 1000
|
||||||
|
|||||||
Reference in New Issue
Block a user