Browse Source

remove python special case in TestMisc

Simon Krajewski 11 years ago
parent
commit
893a5950c8
1 changed files with 0 additions and 4 deletions
  1. 0 4
      tests/unit/TestMisc.hx

+ 0 - 4
tests/unit/TestMisc.hx

@@ -151,11 +151,7 @@ class TestMisc extends Test {
 		var o = { add : c.add };
 		eq( o.add(1,2), 103 );
 		eq( o.add, o.add ); // we shouldn't create a new closure here
-		#if python 
-		var o = { cos : function (x) return Math.cos(x) };
-		#else
 		var o = { cos : Math.cos };
-		#end
 		eq( o.cos(0), 1. );
 
 		// check enum