Removing unnecessary nl

This commit is contained in:
Roman Mogilatov 2015-03-30 16:25:53 +03:00
parent f64d155154
commit 48ff686ae8
2 changed files with 0 additions and 4 deletions

View File

@ -45,7 +45,6 @@ from objects.providers import Singleton
# NewInstance provider will create new instance of specified class # NewInstance provider will create new instance of specified class
# on every call. # on every call.
new_object = NewInstance(object) new_object = NewInstance(object)
object_1 = new_object() object_1 = new_object()
@ -55,7 +54,6 @@ assert object_1 is not object_2
# Singleton provider will create new instance of specified class on first call, # Singleton provider will create new instance of specified class on first call,
# and return same instance on every next call. # and return same instance on every next call.
single_object = Singleton(object) single_object = Singleton(object)
single_object_1 = single_object() single_object_1 = single_object()

View File

@ -6,7 +6,6 @@ from objects.providers import Singleton
# NewInstance provider will create new instance of specified class # NewInstance provider will create new instance of specified class
# on every call. # on every call.
new_object = NewInstance(object) new_object = NewInstance(object)
object_1 = new_object() object_1 = new_object()
@ -16,7 +15,6 @@ assert object_1 is not object_2
# Singleton provider will create new instance of specified class on first call, # Singleton provider will create new instance of specified class on first call,
# and return same instance on every next call. # and return same instance on every next call.
single_object = Singleton(object) single_object = Singleton(object)
single_object_1 = single_object() single_object_1 = single_object()